﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SortTest
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] a = {4, 5, 3, 2, 9,8,7,1 };
            Array.Sort(a);
            foreach (var item in a)
            {
                Console.WriteLine(item);
            }
        }
    }
}
